<include file="../header" title="index" />
<div id="welcome-wrap">
	<section id="welcome">
		<hgroup id="welcome-hd">
			<h1>{:L('welcome-title')}</h1>
		</hgroup>
		<div id="welcome-bd">
			{$welcome}
		</div>
	</section>
</div>
<div id="team-wrap">
	<section id="team">
		<hgroup id="team-hd">
			<h1>{:L('the-team')}</h1>
			<h2>{:L('general-info')}</h2>
		</hgroup>
		<div id="team-bd" class="{$lang}">{$teamgeneral}</div>
	</section>
</div>
<div id="members" class="bbww">
	<section class="member">
		<hgroup class="hd">
			<h1>{:L('the-member')}</h1>
		</hgroup>
		<div class="bd">
			<table>
			    <tr>
			        <td colspan="5"><p class="position">{:L('faculty-advisor')}</p></td>
			    </tr>
				<tr>
				    <td class="left">
				        <p><img class="face" src="/Uploads/faces/{$member[1]['face']}" alt="{:L('faculty-advisor')}" /></p>
                    </td>
                    <td class="right">{$member[1]['text']}</td>
                    <td class="center"> </td>
					<td class="left">
					    <p><img class="face" src="/Uploads/faces/{$member[0]['face']}" alt="{:L('faculty-advisor')}" /></p>
					</td>
					<td class="right">{$member[0]['text']}</td>
				</tr>
			</table>
			<ul>
				<volist name="teams" id="team">
					<li><a href="{:U('About/team')}#t{$team['gtype']}">{$team['name']}</a>
						<if condition="$team['child']">
							<ul class="group">
								<volist name="team['child']" id="group">
									<li><a href="{:U('About/team')}#t{$group['gtype']}">{$group['name']}</a></li>
								</volist>
							</ul>
						</if>
					</li>
				</volist>
			</ul>
		</div>
	</section>
	
	<div class="clear">&#160;</div>
</div>

<section id="star" class="bbww">
    <hgroup class="hd">
        <h1>{:L('dr-star')}</h1>
    </hgroup>
    <div class="bd">
        <div id="more-star">
            <volist name="stars" id="star">
                <div class="mini-face">
                    <a href="{:U('About/star', array('id'=>$star['id']))}">
                        <img src="/Uploads/faces/{$star['faceimg']}" alt="{$star['facenote']}"/>
                    </a>    
                </div>
            </volist>
            <a class="more" href="{:U('About/star')}#star">···</a>
        </div>
    </div>
</section>        

<section id="car" class="bbww">
	<hgroup class="hd">
		<h1>{:L('the-car')}</h1>
		<h2>{:L('general-info')}</h2>
	</hgroup>
	<div class="bd">
		<table>
			<tr>
				<td class="left"><div class="general-info">{$car}</div>
					<div class="more"> <a href="{:U('About/car')}">{:L('read-more')} >></a> </div></td>
				<td class="right"><img src="/Uploads/pics/car-design.jpg"/></td>
			</tr>
		</table>
	</div>
</section>
<section id="blogs" class="bbww">
	<hgroup class="hd">
		<h1>{:L('fromtheblog')}</h1>
	</hgroup>
	<div class="bd">
		<volist name="blogs" id="blog">
			<div class="blog <if condition="$i eq 1">top</if>">
				<table>
					<tr>
						<td class="left"><img class="cover" src="/Uploads/cover/thumb_{$blog['cover']}" /></td>
						<td class="right"><h2>{$blog['title']}</h2>
							<p class="author">By {$blog['author']} - {$blog['createtime|date="d F, Y",###']}</p>
							<p class="summary"> {$blog['content']|strip_tags|String::msubstr=0,100,"utf-8",true} <a class="more" href="{$blog['url']}">&gt;&gt; {:L('read-more')}</a> </p></td>
					</tr>
				</table>
			</div>
		</volist>
		<div class="more-blog">
			<a href="{:U('Blog/index')}">{:L('more-blog')} &gt;&gt;</a>
		</div>
	</div>
</section>
<include file="../footer" />